/**
 * Created by Amber on 2015/6/1.
 */
function successAlert() {
    jQuery.gritter.add({
        title: '操作成功!',
        text: '已经为您保存操作!',
        class_name: 'growl-success',
        image: 'images/screen.png',
        sticky: false,
        time: ''
    });
}
function dangerAlert() {
    jQuery.gritter.add({
        title: '操作失败!',
        text: '请检查网络状态是否正常并重新操作!',
        class_name: 'growl-danger',
        image: 'images/screen.png',
        sticky: false,
        time: ''
    });
}
function messageSuccess(title,msg) {
	jQuery.gritter.add({
        title: title,
        text: msg,
        class_name: 'growl-success',
        image: 'images/screen.png',
        sticky: false,
        time: ''
    });
}
function messageDanger(title,msg) {
	jQuery.gritter.add({
        title: title,
        text: msg,
        class_name: 'growl-danger',
        image: 'images/screen.png',
        sticky: false,
        time: ''
    });
}
